package com.ssy.lingxi.product.api.model.response.warehouse;

import lombok.Data;

@Data
public class PositionInventoryDeductionRecordResponse {

    private Long id;
    /**
     * 仓位ID
     */
    private Long  freightSpaceId;


    /**
     * 订单ID
     */
    private Long  orderId;

    /**
     * 商品ID
     */
    private Long  productId;

    /**
     * 商品名字
     */
    private String  productName;

    /**
     * 仓位名称
     */
    private String  freightSpaceName;


    /**
     * 对应仓库ID
     */
    private Long  warehouseId;


    /**
     * 对应仓库名字
     */
    private String  warehouseName;


    /**
     * 对应货品ID
     */
    private Long  goodsId;

    /**
     * 对应货品名字
     */
    private String  goodsName;

    /**
     * 扣减记录类型：1.仓位添加 2.修改仓位库存数量 3.调拨仓位库存 4. 用户下单库存扣减
     */
    private Integer  type;


    /**
     * 扣减仓位库存
     */
    private Double  reductionInventory;



    /**
     * 扣减前仓位库存
     */
    private Double  beforeDeductionInventory;


    /**
     * 扣减后仓位库存
     */
    private Double  endDeductionInventory;


    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 创建人ID
     */
    private Long createRoleId;

    /**
     * 创建会员Id
     */
    private Long createMemberId;
}
